package com.shse.blog.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by shse on 3/13/2016.
 */
@Repository
public interface BlogDao {

    @Insert("insert into Blog(blogTitle, blogContent) values(#{blogTitle}, #{blogContent})")
    public void addBlog(@Param("blogTitle") String blogTitle, @Param("blogContent") String blogContent);
}
